package com.ruoyi.merchant.service;


import com.ruoyi.common.core.cg.pojo.Community;
import com.ruoyi.common.core.cg.pojo.Leader;
import com.ruoyi.common.core.cg.pojo.Store;
import com.ruoyi.common.core.cg.pojo.Users;
import com.ruoyi.merchant.dto.SaveRequest;
import com.ruoyi.merchant.utils.Result;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

/**
* @author ？？？
* @description 针对表【users】的数据库操作Service
* @createDate 2025-03-04 14:04:13
*/
public interface UsersService {
    //验证码登录
    Result loginUser(String phone);



    Result login(String phone, String password);

    //商家入驻
    Result UserSave(Users users);

    Result selectById(Integer uid);

    //提交审核
//    int communitySave(Community community);

//    Result saveRequest(SaveRequest saveRequest);

    Result saveData(Community community, Leader leader, Store store);
}
